package designPatterns.P06_桥接模式_Bridge.phones;

import designPatterns.P06_桥接模式_Bridge.phones.brands.Brand;

public class UprightPhone extends Phone{
    public UprightPhone(Brand brand) {
        super(brand);
    }

    @Override
    public void open() {
        System.out.println("Upright Phone");
        super.open();
    }

    @Override
    public void close() {
        System.out.println("Upright Phone");
        super.close();
    }

    @Override
    public void call() {
        System.out.println("Upright Phone");
        super.call();
    }

    @Override
    public Brand getBrand() {
        return super.getBrand();
    }
}
